package com.esd.db.model;

import java.util.Date;

public class user {

    private Integer userId;
    
    private Boolean userStatus;

    private String username;

    private String password;
    
    private Integer userLvl;
    
    private Integer usertype;

    private Integer createId;

    private Date createTime;

    private String createMethod;

    private Integer updateId;

    private Date updateTime;

    private String updateMethod;

    private int version;
    
    private int referrerId;
    
    private String workGroupCode;
    
    private int voiceNoteNoticeFlag;    //标注规则通知标识 1通知开启  0通知关闭
    
    private int noticeFlag;           	//通知公告标识 1通知开启  0通知关闭'
    
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Boolean getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(Boolean userStatus) {
		this.userStatus = userStatus;
	}

	public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getUsertype() {
        return usertype;
    }

    public void setUsertype(Integer usertype) {
        this.usertype = usertype;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateMethod() {
        return createMethod;
    }

    public void setCreateMethod(String createMethod) {
        this.createMethod = createMethod == null ? null : createMethod.trim();
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateMethod() {
        return updateMethod;
    }

    public void setUpdateMethod(String updateMethod) {
        this.updateMethod = updateMethod == null ? null : updateMethod.trim();
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

	public Integer getUserLvl() {
		return userLvl;
	}

	public void setUserLvl(Integer userLvl) {
		this.userLvl = userLvl;
	}

	public int getReferrerId() {
		return referrerId;
	}

	public void setReferrerId(int referrerId) {
		this.referrerId = referrerId;
	}

	public String getWorkGroupCode() {
		return workGroupCode;
	}

	public void setWorkGroupCode(String workGroupCode) {
		this.workGroupCode = workGroupCode;
	}

	public int getVoiceNoteNoticeFlag() {
		return voiceNoteNoticeFlag;
	}

	public void setVoiceNoteNoticeFlag(int voiceNoteNoticeFlag) {
		this.voiceNoteNoticeFlag = voiceNoteNoticeFlag;
	}
	
	public int getNoticeFlag() {
		return noticeFlag;
	}

	public void setNoticeFlag(int noticeFlag) {
		this.noticeFlag = noticeFlag;
	}

	@Override
	public String toString() {
		return "user [userId=" + userId + ", userStatus=" + userStatus
				+ ", username=" + username + ", password=" + password
				+ ", userLvl=" + userLvl + ", usertype=" + usertype
				+ ", createId=" + createId + ", createTime=" + createTime
				+ ", createMethod=" + createMethod + ", updateId=" + updateId
				+ ", updateTime=" + updateTime + ", updateMethod="
				+ updateMethod + ", version=" + version + ", referrerId="
				+ referrerId + ", workGroupCode=" + workGroupCode
				+ ", voiceNoteNoticeFlag=" + voiceNoteNoticeFlag
				+ ", noticeFlag=" + noticeFlag + "]";
	}
}